package com.pbc.gmp.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by UPC on 2017/4/27.
 */
public class MenuTreeResourseDto  implements Serializable {
    /**
     *
     */
    private Long id;
    /**
     *菜单名称
     */
    private String text;
    /**
     *菜单链接
     */
    private String attributes;
    /**
     *菜单图标
     */
    private String iconCls;

    /**
     *父菜单id
     */
    private Long pid;



    /**
     *子菜单
     */
    private List<MenuTreeResourseDto> children;
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public List<MenuTreeResourseDto> getChildren() {
        return children;
    }

    public void setChildren(List<MenuTreeResourseDto> children) {
        this.children = children;
    }
    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }
}
